package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 course
 *
 * @author ruoyi
 * @date 2024-02-01
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long courseId;

    /**  */
    @Excel(name = "")
    private String courseName;

    /**  */
    @Excel(name = "")
    private String courseDesc;

    /**  */
    @Excel(name = "")
    private String courseCoverColor;

    /** 添加这个课程的用户id */
    @Excel(name = "添加这个课程的用户id")
    private Long userId;

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseDesc(String courseDesc)
    {
        this.courseDesc = courseDesc;
    }

    public String getCourseDesc()
    {
        return courseDesc;
    }
    public void setCourseCoverColor(String courseCoverColor)
    {
        this.courseCoverColor = courseCoverColor;
    }

    public String getCourseCoverColor()
    {
        return courseCoverColor;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("courseId", getCourseId())
                .append("courseName", getCourseName())
                .append("courseDesc", getCourseDesc())
                .append("courseCoverColor", getCourseCoverColor())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("userId", getUserId())
                .toString();
    }
}
